<extend name="Public/publicHTML" />
<block name="nav"></block>


<block name="content">
    <link rel="stylesheet" href="__COMMON__/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet"
          href="__COMMON__/bootstrap/css/font-awesome.min.css" />
    <div class="wrapper">

        <section class="content">
            <div class="container-fluid">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">
                            <i class="fa fa-list"></i> 导航特殊图片处理列表
                        </h3>
                    </div>
                    <div class="panel-body">
                        <div class="navbar navbar-default">

                            <div class="form-group pull-right">
                                <a href="{:U('add')}" class="btn btn-primary pull-right"><i class="fa fa-plus"></i>添加导航不规格图片</a>
                            </div>

                        </div>
                        <div>
                            <div class="table-responsive">
                                <table id="list-table" class="table table-bordered table-hover font_size">
                                    <thead>
                                    <tr role="row" align="center">
                                        <th class="sorting"  align="center">导航不规格图片标题</th>
                                        <th class="sorting" tabindex="0">操作</th>

                                    </tr>
                                    </thead>
                                    <tbody>
                                       <foreach name="navImgs" item="navImg">
                                           <tr role="row" align="center">
                                               <td align="center" class="sd">{$navImg.nav_type}</td>
                                               <td>
                                                   <a class="btn btn-primary" href="{:U('NavImg/edit',['title_type'=>$navImg['title_type']])}"><i class="fa fa-pencil"></i></a>
                                                   <a class="btn btn-danger"  href="{:U('NavImg/remove',['title_type'=>$navImg['title_type']])}"><i class="fa fa-trash-o"></i></a>
                                               </td>
                                           </tr>
                                       </foreach>
                                    </tbody>
                                    <tfoot>
                                    </tfoot>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- /.row -->
        </section>
    </div>
    <script type="text/javascript" src="__COMMON__/js/alert.js?a={:time()}"></script>
</block>